package top.z.orm.handle.osql.core;

public class CacheSuidStruct {
    // 不带值的
    private String   sql;
    // private String sqlValue;  // get from context
    // 用##间隔
    private String   tableNames;
    // 返回值类型用于过滤缓存的查询结果, 防止同一查询SQL的不同类型的结果; 但更改的操作可不需要用这个值
    private String   returnType;
    // 操作类型
    private String   suidType;
    // for route
    private Class<?> entityClass;

    public CacheSuidStruct() {
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public String getTableNames() {
        return tableNames;
    }

    public void setTableNames(String tableNames) {
        this.tableNames = tableNames;
    }

    public String getSuidType() {
        return suidType;
    }

    public void setSuidType(String suidType) {
        this.suidType = suidType;
    }

    public String getReturnType() {
        return returnType;
    }

    public void setReturnType(String returnType) {
        this.returnType = returnType;
    }

    public Class<?> getEntityClass() {
        return entityClass;
    }

    public void setEntityClass(Class<?> entityClass) {
        this.entityClass = entityClass;
    }
}